package com.example.user_service.otherservice;

import com.example.user_service.return_data.Mall_Data;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@Component
@FeignClient(name = "GOODSSERVICE")
public interface GoodsServiceOpenFeign
{
    @RequestMapping("/selectgoods")
    public Mall_Data selectgoods(@RequestParam("id")int id);
}
